{template 'common/header'}
<ol class="breadcrumb we7-breadcrumb">
	<a href="{php echo $this->createWebUrl('bannerlist');}"><i class="wi wi-back-circle"></i> </a>
	<li>
		<a href="{php echo $this->createWebUrl('bannerlist');}">banner管理</a>
	</li>
	<li>
		banner位置列表
	</li>
</ol>
<div class="clearfix">
	<table class="table table-bordered">
		<thead>
            <tr>
				<th>位置标题</th>
                <th>位置描述</th>
                <th>展示方式</th>
                <th>是否显示</th>
                <th>操作</th>
			</tr>
        </thead>
		 <tbody>
		{loop $site_list $index $site}
			<tr>
				<td>{$site['site_title']}</td>
				<td>{$site['site_desc']}</td>
				<td>
					{if $site['site_type'] == 1}数字展示{else}图片展示{/if}
				</td>
				<td>
					{if $site['is_show'] == 1}
					<label class="label label-success">是</label>
					{else}
					<label class="label label-danger">否</label>
					{/if}
				</td>
				<td><a href="{php echo $this->createWebUrl('Siteedit', array('site_id' => $site['site_id'],'module_type'=>'system_welcome'));}" class="label label-success">编辑</a></td>
			</tr>
		{/loop}
		</tbody>
	</table>
	<div class="text-right">
		{$pager}
	</div>
</div>

{template 'common/footer'}
